<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $title_for_layout?></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<!-- Include external files and scripts here (See HTML helper for more info.) -->
<title><?php echo $title_for_layout; ?></title>
<?php 
	
	echo $scripts_for_layout;
	#echo $javascript->link('prototype'); 
	#echo $javascript->link('scriptaculous');
	#echo $html->css('cake.generic.css','',array('media'=>'screen'));
	echo $html->css('core.css','',array('media'=>'screen'));
?>

</head>
<body>
<div id="container">  
<?php echo $this->element('core_navigation'); ?>

 <div id="main_content"> 
        <div id="spinner" style="display: none; float: right;">
                <?php echo $html->image('spinner.gif'); ?>
        </div>
<!-- Here's where I want my views to be displayed -->
<?php echo $content_for_layout ?>

<!-- Add a footer to each displayed page -->
 <div id="footer"></div>
</div>
</body>
</html>